#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>

int compar(const void* a, const void* b)
{
	return *(int*)a - *(int*)b;
}

int main()
{
	int arr[] = { 2,45,7,2,-5,-7,-1,0,0,3,3,3,0,0,0 };
	int len = sizeof(arr) / sizeof(arr[0]);
	qsort(arr, len, sizeof(arr[0]), compar);
	for (int i = 0; i < len; i++)
	{
		printf("%d ", arr[i]);
	}
	return 0;
}